package cn.qu.netty.boot.example.controller;

import cn.qu.netty.boot.Controller;
import cn.qu.netty.boot.RequestMapping;

@Controller
public class Controller2 {
	
	@RequestMapping(value = "/getVoid")
	public void getVoid() {
		System.out.println("-------------------------void-------------------------");
	}
	
	@RequestMapping(value = "/getBoolean")
	public Boolean getBoolean() {
		return true;
	}
	
	@RequestMapping(value = "/getByte")
	public Byte getByte() {
		return 1;
	}
	
	@RequestMapping(value = "/getShort")
	public Short getShort() {
		return 1;
	}
	
	@RequestMapping(value = "/getCharacter")
	public Character getCharacter() {
		return 'a';
	}
	
	@RequestMapping(value = "/getInteger")
	public Integer getInteger() {
		return 1;
	}
	
	@RequestMapping(value = "/getFloat")
	public Float getFloat() {
		return 1.0f;
	}
	
	@RequestMapping(value = "/getLong")
	public Long getLong() {
		return 1L;
	}
	
	@RequestMapping(value = "/getDouble")
	public Double getDouble() {
		return 10.0;
	}

}
